package com.css.fxfzxczh.modules.synthesizeInfoManage.personnelManagement.service;

import com.css.fxfzxczh.base.response.RestResponse;
import com.css.fxfzxczh.modules.synthesizeInfoManage.personnelManagement.entity.PersonnelManagement;
import com.css.fxfzxczh.modules.synthesizeInfoManage.personnelManagement.entity.Role;
import com.css.fxfzxczh.modules.synthesizeInfoManage.personnelManagement.vo.SysUserImportVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.util.List;
import java.util.Map;

public interface PersonnelManagementService {
    void save(PersonnelManagement param);

    void updateById(PersonnelManagement param);

    void deleteById(List<String> ids);

    void importExcel(MultipartFile file, String xsemId) throws Exception;

    Map<String, Object> getPage(PersonnelManagement queParams, int curPage, int pageSize);

    PersonnelManagement getHeadInfo();

    PersonnelManagement findById(String id);

    List<Role> getRole();

    PersonnelManagement findByXsemIdAndTel(String tel, String xsemId);

    void sysUserImport(SysUserImportVo sysUserImportVo);
}
